/****************************************************************************
** Meta object code from reading C++ file 'TestClass.h'
**
** Created: Sun Nov 15 23:56:01 2009
**      by: The Qt Meta Object Compiler version 62 (Qt 4.6.0)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "TestClass.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TestClass.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.6.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_TestClass[] = {

 // content:
       4,       // revision
       0,       // classname
       2,   14, // classinfo
       0,    0, // methods
       7,   18, // properties
       1,   39, // enums/sets
       0,    0, // constructors
       0,       // flags
       0,       // signalCount

 // classinfo: key, value
     134,   10,
     194,  143,

 // properties: name, type, flags
     206,  201, 0x01195103,
     223,  215, 0x0a195103,
     134,  228, 0x0019510b,
     194,  241, 0x87195103,
     254,  247, 0x43195103,
     264,  260, 0x02195001,
     283,  275, 0x0019500b,

 // enums: name, flags, count, data
     275, 0x0,    5,   43,

 // enum data: key, value
     301, uint(TestClass::HOMER),
     307, uint(TestClass::MARGE),
     313, uint(TestClass::BART),
     318, uint(TestClass::LISA),
     323, uint(TestClass::MAGGIE),

       0        // eod
};

static const char qt_meta_stringdata_TestClass[] = {
    "TestClass\0"
    "minimumX=-2147483647;maximumX=2147483647;minimumY=-2147483647;maximumY"
    "=2147483647;minimumZ=-2147483647;maximumZ=2147483647;\0"
    "Position\0minimum=0;maximum=400;decimals=4;singleStep=0.001;\0"
    "Radius\0bool\0testBool\0QString\0Name\0"
    "GGL::Point3f\0float\0QColor\0Color\0int\0"
    "SomeNumber\0Simpson\0SimpsonsCharacter\0"
    "HOMER\0MARGE\0BART\0LISA\0MAGGIE\0"
};

const QMetaObject TestClass::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_TestClass,
      qt_meta_data_TestClass, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &TestClass::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *TestClass::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *TestClass::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_TestClass))
        return static_cast<void*>(const_cast< TestClass*>(this));
    return QObject::qt_metacast(_clname);
}

int TestClass::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    
#ifndef QT_NO_PROPERTIES
     if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = getTestBool(); break;
        case 1: *reinterpret_cast< QString*>(_v) = name(); break;
        case 2: *reinterpret_cast< GGL::Point3f*>(_v) = position(); break;
        case 3: *reinterpret_cast< float*>(_v) = radius(); break;
        case 4: *reinterpret_cast< QColor*>(_v) = color(); break;
        case 5: *reinterpret_cast< int*>(_v) = someNumber(); break;
        case 6: *reinterpret_cast< Simpson*>(_v) = simpson(); break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setTestBool(*reinterpret_cast< bool*>(_v)); break;
        case 1: setName(*reinterpret_cast< QString*>(_v)); break;
        case 2: setPosition(*reinterpret_cast< GGL::Point3f*>(_v)); break;
        case 3: setRadius(*reinterpret_cast< float*>(_v)); break;
        case 4: setColor(*reinterpret_cast< QColor*>(_v)); break;
        case 6: setSimpson(*reinterpret_cast< Simpson*>(_v)); break;
        }
        _id -= 7;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_END_MOC_NAMESPACE
